package com.top.application.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.top.application.dao.ClientEntityMapper;
import com.top.application.entity.ClientEntity;
import com.top.application.service.ClientService;

/**
 * 
 * @ClassName: ClientServiceImpl 
 * @Description: TODO(客户端服务注册记录信息) 
 * @author zhaiey
 * @date 2018年4月8日 下午2:22:57 
 *
 */
@Service("clientService")
public class ClientServiceImpl implements ClientService{
	
	@Autowired
	private ClientEntityMapper clientEntityMapper;
	
	@Override
	public int delete(Integer id) {
		return clientEntityMapper.delete(id);
	}

	@Override
	public int insert(ClientEntity record) {
		return clientEntityMapper.insert(record);
	}

	@Override
	public ClientEntity selectById(Integer id) {
		return clientEntityMapper.selectById(id);
	}

	@Override
	public int update(ClientEntity record) {
		return clientEntityMapper.update(record);
	}

	@Override
	public ClientEntity selectByUuid(String uuid) {
		return clientEntityMapper.selectByUuid(uuid);
	}

}
